-
-
Notifications
You must be signed in to change notification settings - Fork 1
gRPC basis #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
gRPC basis #8
Conversation
to satisfy the gRPC logics
| // Requests | ||
| message CreateBottleRequest { | ||
| string name = 1; | ||
| string type = 2; // e.g., "Gaming", "Software", "Custom" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type should be an enum
enum BottleType {
Gaming = 1;
Software = 2;
Custom = 3;
}
| message BottleConfig { | ||
| string runner = 1; | ||
| string dxvk_version = 2; | ||
| string vkd3d_version = 3; | ||
| string latencyflex_version = 4; // Optional | ||
| bool dxvk_nvapi = 5; | ||
| bool esync = 6; | ||
| bool fsync = 7; | ||
| // Add other relevant settings | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BottleConfig should be sent as a map probably. Not as individual fields
| // System | ||
| message ShutdownRequest {} | ||
|
|
||
| message WinebootRequest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make this an enum?
|
|
||
| message MessageResponse { | ||
| bool success = 1; | ||
| string error = 2; // Optional error detail |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if error is optional make it
optional string error = 2;
This is not a complete feature but the basis to complete the gRPC structure.